package com.design.work461;
import java.awt.Color;
import javax.swing.ImageIcon;

public class SnowingState extends WeatherState {
    public SnowingState() {
        state = "Snowing";
    }

    @Override
    public String getCurrentState() {
        return state;
    }

    @Override
    public String act() {
        String voice = " It is snowing heavily outside...";
        return voice;
    }

    @Override
    public Color setColor() {
        return Color.white;
    }

    @Override
    public ImageIcon setImgIcon() {
        ImageIcon snowingIcon = new ImageIcon("images/Snowing.jpg");
        return snowingIcon;
    }
}
